package com.ljj.repository;

import com.ljj.dataobject.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;


/**
 * Created by 39716 on 2018/3/25.
 */
public interface OrderMasterRepository extends JpaRepository<OrderMaster,String> {
    //根据 买家微信openid 分页查找 订单
    Page<OrderMaster> findByBuyerOpenid(String buyerOpenid, Pageable pageable);
}
